﻿
@model MyUrnaVirtual.Models.AdminPersonasViewModel 

 @{   Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Crear PERSONAS</h2>
<form class="pure-form pure-form-stacked" action="~/AdminPersonas/Crear" method="post">
    <fieldset>
        <legend>Ingrese datos del Votante</legend>

        <div class="pure-g-r">
            <div class="pure-u-1-3">
                <label for="first-name">Dni</label>
                @Html.TextBoxFor(x => x.Dni)
            </div>

            <div class="pure-u-1-3">
                <label for="last-name">Nombre</label>
                @Html.TextBoxFor(x => x.Nombre)
            </div>
            <div class="pure-u-1-3">
                <label for="last-name">Apellido</label>
                @Html.TextBoxFor(x => x.Apellido)
            </div>
        </div>
        <button type="submit" class="pure-button pure-button-primary" onclick="window.location.href='/AdminPersonas/Index'">Okay</button>
    </fieldset>
</form>